public class EvenNumbers
{
	public int[] evenlogic(int[] arraylist,int size)
	{
		int count,count1;
		int c;
		for(count=0;count<=size-1;count++)
		{
			if(arraylist[count]%2!=0)
			{
				for(count1=count+1;count1<=size-1;count1++)
				{
					if(arraylist[count1]%2==0)
					{
						c=arraylist[count1];
						arraylist[count1]=arraylist[count];
						arraylist[count]=c;
					}
						
				}
			}
			
		}
		return arraylist;
	}
	
}//end of the program123
}
//comment by praveen